home *** CD-ROM | disk | FTP | other *** search
/ Aminet 25 / Aminet 25 (1998)(GTI - Schatztruhe)[!][Jun 1998].iso / Aminet / util / rexx / SuperEval.lha / SuperEval / SuperEval.readme < prev   
Text File  |  1998-04-27  |  1KB  |  45 lines

  1. Short: Add trig (rexxmathlib) to eval command
  2. Uploader: Chris Eburn  <ceburn@midcoast.com.au>
  3. Author  : Chris Eburn  <ceburn@midcoast.com.au>
  4. Type    : util/rexx
  5. Version : 1.0
  6. Required: rexxmathlib.library
  7.  
  8.  
  9. What follows is the comment header of EVAL.rexx
  10.  
  11. /****
  12. *   Enhanced "c:Eval" Command
  13. *
  14. *   With trig and other functions
  15. *   see REXXMATHLIB.library for fuction details
  16. *
  17. *   syntax is the same as the rexxmathlib function calls
  18. *              ie: func(x[,y])
  19. *          OR spaces may be used as deliminators (in all funtions)
  20. *              ie: func x [y]
  21. *
  22. *   There are two extra functions:
  23. *
  24. *   1)   DEG(deg,min,sec) outputs Decimal degrees
  25. *     or the alternative syntax is DEG(dd.mmss)
  26. *
  27. *   2)   DMS(DD.dddd) outputs dd mm ss
  28. *
  29. *
  30. *   If the function is unknown to rexxmathlib then the original line is
  31. *      passed, as typed, to the c:eval function. This alows for all the
  32. *      original "eval" maths (and syntax) to be used as a failsafe.
  33. *
  34. *
  35. *   Add the line
  36. *         Alias  Eval  rx rexx:eval.rexx []
  37. *                 into the s:shell-startup script and use in any Shell
  38. *                 syntax:  eval func(x[,y])  OR as per dos EVAL command
  39. *   Put eval.rexx into rexx:
  40. *   and rexxmathlib.library into libs:
  41. *
  42. *     NOTE: all angles are input as decimal DEGREES    (NOT radians)
  43. **/
  44.  
  45.